package is.common.datatype;

import java.io.Serializable;

/**
 * @author aspr0
 *         Date: 16.05.12
 *         Time: 14:24
 */
public class Request implements Serializable
{
    private String commandQualifier;
    private int sectionNum;
    private String[] data;

    public Request(String commandQualifier)
    {
        this.commandQualifier = commandQualifier;
    }

    public Request(String commandQualifier, int sectionNum)
    {
        this.commandQualifier = commandQualifier;
        this.sectionNum = sectionNum;
    }

    public Request(String commandQualifier, int sectionNum, String[] data)
    {
        this.commandQualifier = commandQualifier;
        this.sectionNum = sectionNum;
        this.data = data;
    }

    public String getCommandQualifier()
    {
        return commandQualifier;
    }

    public int getSectionNum()
    {
        return sectionNum;
    }

    public String[] getData()
    {
        return data;
    }
}
